Formal Analysis of Reentrancy Vulnerabilities in Smart Contract Based on CPN

نویسندگان

چکیده

A smart contract is a special form of computer program that runs on blockchain and provides new way to implement financial business transactions in conflict-free transparent environment. In systems such as Ethereum, contracts can handle autonomously transfer assets considerable value other parties. Hence, it particularly important ensure function intended since bugs or vulnerabilities may lead, indeed have led, substantial economic losses erosion trust for blockchain. While number approaches tools been developed find vulnerabilities, formal methods present the highest level confidence security contracts. this paper, we propose solution model based colored Petri nets (CPNs). Herein, focus most common type contract, i.e., reentrancy bugs, which led serious loss around USD 34 million Cream Finance project 2021. We hierarchical CPN modelling method analyze potential at contract’s source code level. Then, modeling analysis correlation matrix, state space report graph generated via Tools simulation are exploited The example shows full wrong path accordance with our expected results. Finally, conclusion was verified Ethereum network Remix platform.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

the effect analysis of proficiency on language - switching in iranian efl learners writing

abstract in a protocol analysis of second language writing from 20 adult english as a foreign language (efl) iranian students, this research observed how language-switching (l-s), i.e., first language use in l2 writing, was affected by l2 proficiency. switching interactively between first (l1) and second (l2) languages has been recognized as one of the salient characteristics of l2 writing....

15 صفحه اول

analysis of power in the network society

اندیشمندان و صاحب نظران علوم اجتماعی بر این باورند که مرحله تازه ای در تاریخ جوامع بشری اغاز شده است. ویژگیهای این جامعه نو را می توان پدیده هایی از جمله اقتصاد اطلاعاتی جهانی ، هندسه متغیر شبکه ای، فرهنگ مجاز واقعی ، توسعه حیرت انگیز فناوری های دیجیتال، خدمات پیوسته و نیز فشردگی زمان و مکان برشمرد. از سوی دیگر قدرت به عنوان موضوع اصلی علم سیاست جایگاه مهمی در روابط انسانی دارد، قدرت و بازتولید...

15 صفحه اول

Formal Analysis of Vulnerabilities of Web Applications Based on SQL Injection

We present a formal approach for the analysis of attacks that exploit SQLi to violate security properties of web applications. We give a formal representation of web applications and databases, and show that our formalization effectively exploits SQLi attacks. We implemented our approach in a prototype tool called SQLfast and we show its efficiency on four real-world case studies, including the...

متن کامل

Formal Safety Assessment via Contract-Based Design

Safety Assessment (SA) is an engineering discipline aiming at the analysis of systems under faults. According to industrial practice and standards, SA is based on the construction of complex artifacts such as Fault Trees, which describe how certain faults may cause some top-level events. SA is intended to mirror the hierarchical design of the system focusing on the safety aspects. In this paper...

متن کامل

fabrication of new ion sensitive field effect transistors (isfet) based on modification of junction-fet for analysis of hydronium, potassium and hydrazinium ions

a novel and ultra low cost isfet electrode and measurement system was designed for isfet application and detection of hydronium, hydrazinium and potassium ions. also, a measuring setup containing appropriate circuits, suitable analyzer (advantech board), de noise reduction elements, cooling system and pc was used for controlling the isfet electrode and various characteristic measurements. the t...

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Electronics

سال: 2023

ISSN: ['2079-9292']

DOI: https://doi.org/10.3390/electronics12102152